/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.sourceforge.slcwsn.monitorapp;

import net.sourceforge.slcwsn.sensors.SensorVisitor;
import net.sourceforge.slcwsn.sensors.SimpleNodeSensorVersion5;
import org.apache.log4j.Logger;

/**
 *
 * @author David Miguel Antunes <davidmiguel [ at ] antunes.net>
 */
public class SensorShortDescriptor implements SensorVisitor {

    private static final Logger logger = Logger.getLogger(EventShortDescriptor.class);
    private String description;

    public String getDescription() {
        return description;
    }

    public void visit(SimpleNodeSensorVersion5 sensor) {
        description = "Simple Node Sensor v5 with id " + sensor.getId();
    }
}
